namespace Umdf.ComInterop
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;

    [ComImport, TypeLibType((short) 0x200), InterfaceType((short) 1), Guid("99B01D17-9FBD-4AA6-B16D-82DAB6A4107F")]
    public interface IImpersonateCallback
    {
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
        void OnImpersonate([In] IntPtr Context);
    }
}

